const request = config => {
  const token = uni.getStorageSync('token')
  config.header.token = token || ''
  if (config.url === '/app/login') config.header.noToken = true
  return config
}
export default {
  request
}
